DioWallet Service API
The JS-API
needs to be used in conjunction with dio-wallet extension. Before using the js-api
, please ensure that you have installed the dio-wallet
through chrome web store. [install].
The Dioxide Wallet extension injects an SDK JavaScript file into the presently active webpage. The global object window.dioxide
will be exposed after the initialization of the file is completed.
Through the window.dioxide
object, all access to the internal wallet state and interactions with the wallet, such as reading on-chain data and signing transactions, can be proxied.